package com.starbaba.userpoint.service;

import java.util.List;
import java.util.Map;

import com.starbaba.core.web.page.PageResponse;
import com.starbaba.userpoint.model.UserPointModel;

public interface UserPointService {

	/**
	 * 用户积分明细查询
	 * 
	 * @param iDisplayStart
	 * @param iDisplayLength
	 * @param pageResponse
	 * @param paramsMap
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public List<UserPointModel> getDataList(int iDisplayStart, int iDisplayLength, PageResponse pageResponse, Map<String, Object> paramsMap);

	/**
	 * 用户积分查询
	 * 
	 * @param iDisplayStart
	 * @param iDisplayLength
	 * @param pageResponse
	 * @param paramsMap
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public List<UserPointModel> getUserPointList(int iDisplayStart, int iDisplayLength, PageResponse pageResponse, Map<String, Object> paramsMap);

	/**
	 * 用户积分管理
	 * 
	 * @param paramsMap
	 */
	public String userPointManage(Map<String, Object> paramsMap);

	/**
	 * 查询用户积分余额
	 * 
	 * @param paramsMap
	 */
	public Integer queryPointByuserId(Long userId, String prd_type);

	public String exportLoanOrderCVS(List<UserPointModel> list);
}
